package xyz.heyaoshare.core.controller.system.role.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * 角色详情请求对象
 * @author YueHe
 * @version 0.0.1
 * @since 2025/5/9 下午4:00
 */
@Data
@Schema(description = "角色详情请求对象")
public class RoleDetailReqVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "角色ID不能为空")
    @Schema(description = "角色ID", requiredMode = REQUIRED)
    private Long roleId;

}